core: Optimize commits to raw repositories
authorColin Walters <walters@verbum.org>
Fri, 4 May 2012 10:15:47 +0000 (06:15 -0400)
committerColin Walters <walters@verbum.org>
Fri, 4 May 2012 10:15:47 +0000 (06:15 -0400)
commit7ce587da302b6c501e9308f875135bcd13714e6c
tree508513c4df6c1466d8a7e998540c48fe3b016320
parent67f61976f4271a014213693b2da5cc738d5cad6a
core: Optimize commits to raw repositories

Avoid creating a temporary intermediate file in the case where we have
the total object length available.
src/libostree/ostree-core.c
src/libostree/ostree-core.h
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-pull.c
src/ostree/ot-builtin-pull-local.c
src/ostree/ot-builtin-unpack.c